package com.thrift.client.service;


import com.thrift.client.rpc.thriftcode.Student;
import org.apache.thrift.TException;

/**
 * 调用远端服务的service接口
 * @author 何锦涛--CodeSleep
 * @since 2022/9/4 15:24
 */
public interface RpcStudentService {
    // 根据名称获取学生信息
    Student getStudentByName(String name) throws TException;

    // 保存学生信息
    void saveStudent(Student student) throws TException;
}
